package com.liangzhong.model.compete.vo
{
	/**
	 *挑战消耗 
	 * @author Administrator
	 * 
	 */	
	public class ChallengeCostVo
	{
		public function ChallengeCostVo()
		{
		}
		/**
		 *排名  
		 */
		public var sort:int;
		/**
		 *消耗s 
		 */
		public var cost:int;
		/**
		 *胜利获取挑战点数 
		 */
		public var win:int;
		/**
		 *平局获得挑战点数 
		 */
		public var draw:int;
		/**
		 * 失败获得挑战点数
		 */
		public var lost:int;
		
		public function analysi($xml:XML):void
		{
			var xmlList:XMLList = $xml.children();
			for each(var xml:XML in xmlList)
			{
				if(this.hasOwnProperty(xml.localName()))
				{
					this[xml.localName()] = xml.toString();
				}
			}
		}
	}
}